﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="GouWuChe.aspx.cs" Inherits="GuoTao.Web.GouWuChe" %>

<%@ Register Src="Controls/bot.ascx" TagName="bot" TagPrefix="uc4" %>


<%@ Register Src="Controls/Top.ascx" TagName="Top" TagPrefix="uc1" %>
<%@ Register Src="Controls/login.ascx" TagName="login" TagPrefix="uc2" %>
<%@ Register Src="Controls/LeftBigClass.ascx" TagName="LeftBigClass" TagPrefix="uc3" %>
<LINK   href="inc/StyleSheet.css"   type="text/css"   rel="stylesheet">

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<script runat="server">

    protected void Login2_Load(object sender, EventArgs e)
    {

    }
</script>

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>我的购物车</title>
</head>
<body>
<form id="form1" runat="server"><div>
        <uc1:Top ID="Top2" runat="server" />
        <table width="998" border="0" cellspacing="0" cellpadding="0" >
  <tr>
    <td valign="bottom"　background="imgV2/left_bg1.png" ><img src="imgV2/left_bg1.png" width="37" height="870"/></td>
    <td width="9" align="right" valign="top" background="imgV2/left_bg2.png"><img alt="" src="imgV2/left_yy.png" width="9" height="510"/></td>
    <td width="211" valign="top" background="imgV2/left_bg.gif">
        &nbsp;<uc2:login ID="Login2" runat="server" OnLoad="Login2_Load" />
        <uc3:LeftBigClass ID="LeftBigClass2" runat="server" />
</td>
    <td width="741" align="center" valign="top" background="Images_v1/rith_bg.gif" bgcolor="#F8FFE8">
      <table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td width="21" style="height: 21px"><img src="Images_v1/yx2_1.gif" width="35" height="21"/></td>
          <td background="Images_v1/yx2_2.gif" style="height: 21px">&nbsp;</td>
          <td width="21" align="right" style="height: 21px"><img src="Images_v1/yx2.png" width="247" height="21"/></td>
        </tr>
      </table>
      <table border="0" align="center" cellpadding="0" cellspacing="0" style="width: 95%">
        <tr>
          <td style="height: 38px; width: 26%;">
              产品 &gt;&gt; <a href="Product.aspx">购物车</a></td>
          <td width="72%" valign="middle" style="height: 38px">
          <table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#00AD97" style="height: 1px">
            <tr>
              <td style="height: 1px"></td>
            </tr>
          </table></td>
          <td width="5%" style="height: 38px"><a href="Product.aspx"></a></td>
        </tr>
        <tr>
        <td colspan=3 style="height: 160px" valign=top>
            <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" BackColor="#D3D9E2" Width="100%"
             OnRowDataBound="GridView1_RowDataBound" OnRowCommand="GridView1_RowCommand">
                <Columns>
                    <asp:TemplateField HeaderText="汽车编号">
                    <HeaderStyle CssClass="forumrow"  ForeColor="Black" Font-Size="X-Small" Font-Bold=False Width="10%"/>
                    <ItemStyle BackColor="#F3F5F4"  Width="10%" />
                    <ItemTemplate>
                        <a href='ProductShow.aspx?busid=<%# Eval("BusId") %>' target=_blank><asp:Label ID="lblBusId" Text='<%# Eval("BusId") %>' ForeColor="red" runat="server"></asp:Label></a>                  
                    </ItemTemplate>
                    </asp:TemplateField>
                    
                    <asp:TemplateField HeaderText="产品名称">
                    <ItemTemplate>
                        <a href='ProductShow.aspx?busid=<%# Eval("BusId") %>' target=_blank><asp:Label ID="lblbusname" runat="server"></asp:Label></a>
                    </ItemTemplate>
                    <HeaderStyle  CssClass="forumrow" ForeColor="Black" Font-Size="X-Small" Font-Bold=False  Width="22%"/>
                    <ItemStyle BackColor="#F3F5F4" />
                    </asp:TemplateField>
                    
                    <asp:TemplateField HeaderText="产品类别">
                    <ItemTemplate>
                        <asp:Label ID="lblbigclassname"  runat="server"></asp:Label>
                    </ItemTemplate>
                    <HeaderStyle  CssClass="forumrow"  ForeColor="Black" Font-Size="X-Small" Font-Bold=False  Width="20%"/>
                     <ItemStyle BackColor="#F3F5F4" />
                    </asp:TemplateField>
                    
                    <asp:TemplateField HeaderText="单价">
                    <ItemTemplate>
                        <asp:Label ID="lblbusprice"  runat="server"></asp:Label>
                    </ItemTemplate>
                    <HeaderStyle  CssClass="forumrow" ForeColor="Black" Font-Size="X-Small" Font-Bold=False  Width="15%"/>
                     <ItemStyle BackColor="#F3F5F4" />
                    </asp:TemplateField>
                    
                    <asp:TemplateField HeaderText="数量">
                    <ItemTemplate>
                        <asp:Label ID="lblBusNum" Text='<%# Eval("BusNum") %>' runat="server"></asp:Label>
                    </ItemTemplate>
                    <HeaderStyle  CssClass="forumrow"  ForeColor="Black" Font-Size="X-Small" Font-Bold=False  Width="8%"/>
                     <ItemStyle BackColor="#F3F5F4" />
                    </asp:TemplateField>
                    
                    <asp:TemplateField HeaderText="编辑">
                    <HeaderStyle  CssClass="forumrow"  ForeColor="Black" Font-Size="X-Small" Font-Bold=False  Width="15%" />
                     <ItemStyle BackColor="#F3F5F4" />
                    <ItemStyle CssClass="forumrow" HorizontalAlign="center"/>
                        <ItemTemplate>
                            <asp:LinkButton ID="LinkButton1" CommandName="jssl" runat="server" CommandArgument='<%# DataBinder.Eval(Container,"RowIndex") %>'>减少数量</asp:LinkButton>|
                            <asp:LinkButton ID="LinkButton2" CommandName="sccp" runat="server" CommandArgument='<%# DataBinder.Eval(Container,"RowIndex") %>'>删除产品</asp:LinkButton>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
            </asp:GridView>
            </td>
        </tr>
        <tr>
        <td colspan=3>
        <div align=right>
            <asp:Button ID="Button1" runat="server" Text="提交购物车" OnClick="Button1_Click" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div>
        </td>
        </tr>
      </table>
      <!--include file="NewsProducts.asp" -->
<table width="96%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="1" bgcolor="#4DB5C9" style="height: 12px"></td>
    <td width="724"  valign="top" background="imgV2/index_us2.gif" style="height: 12px">
    </td>
    <td width="1" bgcolor="#4DB5C9" style="height: 12px"></td>
  </tr>
  <tr>
    <td colspan="3" bgcolor="#4DB5C9" style="height: 1px"></td>
    </tr>
</table>
    </td>
  </tr>
</table>
        
        </div>
    <uc4:bot ID="Bot1" runat="server" />
    </form>
</body>
</html>

